nanopyx.core.transform.interpolation_bicubic

def interpolate(im, x, y) -> float:

Interpolate image using Catmull-Rom interpolation

Parameters
  • im: image to interpolate
  • x: x-coordinate to interpolate at
  • y: y-coordinate to interpolate at
Returns

Interpolated pixel value (float)